<div class="oa-curtain-header">
    <span class="oa-curtain-title">
        <span>{{'TASK_CURTAIN_ASSIGN_FINISHED_1' | i18n}}</span>
    </span>
    <a act="closeTaskCurtain" class="oa-curtain-close" href="javascript:;">{{'TASK_CURTAIN_ASSIGN_FINISHED_2' | i18n}}</a>
</div>
<div class="oa-curtain-body">
<div class="oa-task-content-list">
    <div class="oa-tab-body">
        <div class="oa-panel-accordion approval-accordion task-accordion">
            {{if todayCount > 0}}
            <h3 class="ui-accordion-header">
                <span>{{'TASK_CURTAIN_MY_FINISHED_1' | i18n}}({{todayCount}})</span>
            </h3>
            <div class="oa-accordion-content approval-accordion-content clear">
                <div class="oa-tab-body">
                    <div class="oa-listview-contents">
                        <div class="oa-list report-list-area daily-paper-list clear">
                            {{each todayTasks as task i}}
                            <div class="show-content clear" _taskId="{{task.id}}">
                                {{if currentUserId == task.ownerId}}
                                <div class="task_tickbox">
                                    <a href="javascript:void(0);" class="done" title="{{'TASK_CLICK_CANCEL_FINISHED' | i18n}}" _taskId="{{task.id}}"></a>
                                </div>
                                {{else}}
                                <div class="task_tickbox_disabled">
                                    <a href="javascript:void(0);" class="done" title="{{'TASK_CURTAIN_MY_FINISHED_2' | i18n}}"></a>
                                </div>
                                {{/if}}
                                <div class="right-content">
                                    <div class="show-info apply-show-info clear">
                                        <span>{{task.name}}</span>
                                    </div>
                                    <div class="show-tool show-info">
                                        <a class="publish-time" href="javascript:void(0);">{{task.planFinishDate}}</a>
                                        <span class="comment-num">{{task.commentCount}}</span>
                                    </div>
                                </div>
                            </div>
                            {{/each}}
                        </div>
                    </div>
                    <div class="oa-listview-footer"></div>
                </div>
            </div>
            {{/if}}
            {{if yesterdayCount > 0}}
            <h3 class="ui-accordion-header">
                <span>{{'TASK_CURTAIN_MY_FINISHED_3' | i18n}}({{yesterdayCount}})</span>
            </h3>
            <div class="oa-accordion-content approval-accordion-content clear">
                <div class="oa-tab-body">
                    <div class="oa-listview-contents">
                        <div class="oa-list report-list-area daily-paper-list clear">
                            {{each yesterdayTasks as task i}}
                            <div class="show-content clear" _taskId="{{task.id}}">
                                {{if currentUserId == task.ownerId}}
                                <div class="task_tickbox">
                                    <a href="javascript:void(0);" class="done" title="{{'TASK_CLICK_CANCEL_FINISHED' | i18n}}" _taskId="{{task.id}}"></a>
                                </div>
                                {{else}}
                                <div class="task_tickbox_disabled">
                                    <a href="javascript:void(0);" class="done" title="{{'TASK_CURTAIN_MY_FINISHED_2' | i18n}}"></a>
                                </div>
                                {{/if}}
                                <div class="right-content">
                                    <div class="show-info apply-show-info clear">
                                        <span>{{task.name}}</span>
                                    </div>
                                    <div class="show-tool show-info">
                                        <a class="publish-time" href="javascript:void(0);">{{task.planFinishDate}}</a>
                                        <span class="comment-num">{{task.commentCount}}</span>
                                    </div>
                                </div>
                            </div>
                            {{/each}}
                        </div>
                    </div>
                    <div class="oa-listview-footer"></div>
                </div>
            </div>
            {{/if}}
            {{if twoDaysAgoCount > 0}}
            <h3 class="ui-accordion-header">
                <span>{{'TASK_CURTAIN_MY_FINISHED_4' | i18n}}({{twoDaysAgoCount}})</span>
            </h3>
            <div class="oa-accordion-content approval-accordion-content clear">
                <div class="oa-tab-body">
                    <div class="oa-listview-contents">
                        <div class="oa-list report-list-area daily-paper-list clear">
                            {{each twoDaysAgoTasks as task i}}
                            <div class="show-content clear" _taskId="{{task.id}}">
                                {{if currentUserId == task.ownerId}}
                                <div class="task_tickbox">
                                    <a href="javascript:void(0);" class="done" title="{{'TASK_CLICK_CANCEL_FINISHED' | i18n}}" _taskId="{{task.id}}"></a>
                                </div>
                                {{else}}
                                <div class="task_tickbox_disabled">
                                    <a href="javascript:void(0);" class="done" title="{{'TASK_CURTAIN_MY_FINISHED_2' | i18n}}"></a>
                                </div>
                                {{/if}}
                                <div class="right-content">
                                    <div class="show-info apply-show-info clear">
                                        <span>{{task.name}}</span>
                                    </div>
                                    <div class="show-tool show-info">
                                        <a class="publish-time" href="javascript:void(0);">{{task.planFinishDate}}</a>
                                        <span class="comment-num">{{task.commentCount}}</span>
                                    </div>
                                </div>
                            </div>
                            {{/each}}
                        </div>
                    </div>
                    <div class="oa-listview-footer"></div>
                </div>
            </div>
            {{/if}}
            {{if aWeekAgoCount > 0}}
            <h3 class="ui-accordion-header">
                <span>{{'TASK_CURTAIN_MY_FINISHED_5' | i18n}}({{aWeekAgoCount}})</span>
            </h3>
            <div class="oa-accordion-content approval-accordion-content clear">
                <div class="oa-tab-body">
                    <div class="oa-listview-contents">
                        <div class="oa-list report-list-area daily-paper-list clear">
                            {{each aWeekAgoTasks as task i}}
                            <div class="show-content clear" _taskId="{{task.id}}">
                                {{if currentUserId == task.ownerId}}
                                <div class="task_tickbox">
                                    <a href="javascript:void(0);" class="done" title="{{'TASK_CLICK_CANCEL_FINISHED' | i18n}}" _taskId="{{task.id}}"></a>
                                </div>
                                {{else}}
                                <div class="task_tickbox_disabled">
                                    <a href="javascript:void(0);" class="done" title="{{'TASK_CURTAIN_MY_FINISHED_2' | i18n}}"></a>
                                </div>
                                {{/if}}
                                <div class="right-content">
                                    <div class="show-info apply-show-info clear">
                                        <span>{{task.name}}</span>
                                    </div>
                                    <div class="show-tool show-info">
                                        <a class="publish-time" href="javascript:void(0);">{{task.planFinishDate}}</a>
                                        <span class="comment-num">{{task.commentCount}}</span>
                                    </div>
                                </div>
                            </div>
                            {{/each}}
                        </div>
                    </div>
                    <div class="oa-listview-footer"></div>
                </div>
            </div>
            {{/if}}
            {{if aMonthAgoCount > 0}}
            <h3 class="ui-accordion-header">
                <span>{{'TASK_CURTAIN_MY_FINISHED_6' | i18n}}({{aMonthAgoCount}})</span>
            </h3>
            <div class="oa-accordion-content approval-accordion-content clear">
                <div class="oa-tab-body">
                    <div class="oa-listview-contents">
                        <div class="oa-list report-list-area daily-paper-list clear">
                            {{each aMonthAgoTasks as task i}}
                            <div class="show-content clear" _taskId="{{task.id}}">
                                {{if currentUserId == task.ownerId}}
                                <div class="task_tickbox">
                                    <a href="javascript:void(0);" class="done" title="{{'TASK_CLICK_CANCEL_FINISHED' | i18n}}" _taskId="{{task.id}}"></a>
                                </div>
                                {{else}}
                                <div class="task_tickbox_disabled">
                                    <a href="javascript:void(0);" class="done" title="{{'TASK_CURTAIN_MY_FINISHED_2' | i18n}}"></a>
                                </div>
                                {{/if}}
                                <div class="right-content">
                                    <div class="show-info apply-show-info clear">
                                        <span>{{task.name}}</span>
                                    </div>
                                    <div class="show-tool show-info">
                                        <a class="publish-time" href="javascript:void(0);">{{task.planFinishDate}}</a>
                                        <span class="comment-num">{{task.commentCount}}</span>
                                    </div>
                                </div>
                            </div>
                            {{/each}}
                        </div>
                    </div>
                    <div class="oa-listview-footer"></div>
                </div>
            </div>
            {{/if}}
            {{if threeMonthsAgoCount > 0}}
            <h3 class="ui-accordion-header">
                <span>{{'TASK_CURTAIN_MY_FINISHED_7' | i18n}}({{threeMonthsAgoCount}})</span>
            </h3>
            <div class="oa-accordion-content approval-accordion-content clear">
                <div class="oa-tab-body">
                    <div class="oa-listview-contents">
                        <div class="oa-list report-list-area daily-paper-list clear">
                            {{each threeMonthsAgoTasks as task i}}
                            <div class="show-content clear" _taskId="{{task.id}}">
                                {{if currentUserId == task.ownerId}}
                                <div class="task_tickbox">
                                    <a href="javascript:void(0);" class="done" title="{{'TASK_CLICK_CANCEL_FINISHED' | i18n}}" _taskId="{{task.id}}"></a>
                                </div>
                                {{else}}
                                <div class="task_tickbox_disabled">
                                    <a href="javascript:void(0);" class="done" title="{{'TASK_CURTAIN_MY_FINISHED_2' | i18n}}"></a>
                                </div>
                                {{/if}}
                                <div class="right-content">
                                    <div class="show-info apply-show-info clear">
                                        <span>{{task.name}}</span>
                                    </div>
                                    <div class="show-tool show-info">
                                        <a class="publish-time" href="javascript:void(0);">{{task.planFinishDate}}</a>
                                        <span class="comment-num">{{task.commentCount}}</span>
                                    </div>
                                </div>
                            </div>
                            {{/each}}
                        </div>
                    </div>
                    <div class="oa-listview-footer"></div>
                </div>
            </div>
            {{/if}}
            {{if sixMonthsAgoCount > 0}}
            <h3 class="ui-accordion-header">
                <span>{{'TASK_CURTAIN_MY_FINISHED_8' | i18n}}({{sixMonthsAgoCount}})</span>
            </h3>
            <div class="oa-accordion-content approval-accordion-content clear">
                <div class="oa-tab-body">
                    <div class="oa-listview-contents">
                        <div class="oa-list report-list-area daily-paper-list clear">
                            {{each sixMonthsAgoTasks as task i}}
                            <div class="show-content clear" _taskId="{{task.id}}">
                                {{if currentUserId == task.ownerId}}
                                <div class="task_tickbox">
                                    <a href="javascript:void(0);" class="done" title="{{'TASK_CLICK_CANCEL_FINISHED' | i18n}}" _taskId="{{task.id}}"></a>
                                </div>
                                {{else}}
                                <div class="task_tickbox_disabled">
                                    <a href="javascript:void(0);" class="done" title="{{'TASK_CURTAIN_MY_FINISHED_2' | i18n}}"></a>
                                </div>
                                {{/if}}
                                <div class="right-content">
                                    <div class="show-info apply-show-info clear">
                                        <span>{{task.name}}</span>
                                    </div>
                                    <div class="show-tool show-info">
                                        <a class="publish-time" href="javascript:void(0);">{{task.planFinishDate}}</a>
                                        <span class="comment-num">{{task.commentCount}}</span>
                                    </div>
                                </div>
                            </div>
                            {{/each}}
                        </div>
                    </div>
                    <div class="oa-listview-footer"></div>
                </div>
            </div>
            {{/if}}
        </div>
    </div>
</div>
</div>